Skip to content

Update test containers to 2.0.3#202

Open
jacomago wants to merge 1 commit into
ChannelFinder:masterfrom
jacomago:update-test-containers
Open

Update test containers to 2.0.3#202
jacomago wants to merge 1 commit into
ChannelFinder:masterfrom
jacomago:update-test-containers

Conversation

@jacomago
Copy link
Copy Markdown
Contributor

The dummy junit code is no longer needed as testcontainers/testcontainers-java#970 has been fixed.

The dummy junit code is no longer needed as testcontainers/testcontainers-java#970 has been fixed.
@jacomago jacomago force-pushed the update-test-containers branch from 1179ef3 to 69f4676 Compare February 20, 2026 11:53
@sonarqubecloud
Copy link
Copy Markdown

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the Testcontainers JUnit Jupiter test dependency and removes the fake JUnit 4 shim classes that were previously used to avoid runtime classpath issues.

Changes:

  • Updated org.testcontainers:junit-jupiter from 1.19.3 to 1.21.4.
  • Removed the custom test-scope placeholder classes for org.junit.rules and org.junit.runners.model.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
pom.xml Updates the Testcontainers JUnit Jupiter dependency and removes the JUnit 4 exclusion.
src/test/java/org/junit/rules/TestRule.java Removes the fake JUnit TestRule interface.
src/test/java/org/junit/rules/ExternalResource.java Removes the fake JUnit ExternalResource class.
src/test/java/org/junit/runners/model/Statement.java Removes the fake JUnit Statement class.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread pom.xml
<groupId>org.testcontainers</groupId>
<artifactId>junit-jupiter</artifactId>
<version>1.19.3</version>
<version>1.21.4</version>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants